using System;

namespace MoonFramework.Template
{
    [AttributeUsage(AttributeTargets.Class)]
    /// <summary>
    /// UI元素特性
    /// 每个窗口都应该添加
    /// </summary>
    public class UIElementAttribute : System.Attribute
    {
        public bool isCache;
        public int layerNum;
        public string resPath;

        public UIElementAttribute(bool isCache, string resPath, int layerNum)
        {
            this.isCache = isCache;
            this.resPath = resPath;
            this.layerNum = layerNum;
        }
    }
}